package com.woniu.car.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author wuyanzu
 * @since 2021-06-22
 */
public class TCoupon implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "coupon_id", type = IdType.AUTO)
    private Integer couponId;

    private String couponNo;

    private Integer type;

    private String img;

    private Date startTime;

    private Date endTime;

    private String status;

    private String remarks;

    private Integer count;

    private Integer takeCount;

    private Integer usedCount;

    private Double deductionMoney;

    private Double discountMoney;

    private Double fullMoney;

    private Integer createRole;

    private Date createTime;

    private Integer createId;
    


    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public String getCouponNo() {
        return couponNo;
    }

    public void setCouponNo(String couponNo) {
        this.couponNo = couponNo;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getTakeCount() {
        return takeCount;
    }

    public void setTakeCount(Integer takeCount) {
        this.takeCount = takeCount;
    }

    public Integer getUsedCount() {
        return usedCount;
    }

    public void setUsedCount(Integer usedCount) {
        this.usedCount = usedCount;
    }

    public Double getDeductionMoney() {
        return deductionMoney;
    }

    public void setDeductionMoney(Double deductionMoney) {
        this.deductionMoney = deductionMoney;
    }

    public Double getDiscountMoney() {
        return discountMoney;
    }

    public void setDiscountMoney(Double discountMoney) {
        this.discountMoney = discountMoney;
    }

    public Double getFullMoney() {
        return fullMoney;
    }

    public void setFullMoney(Double fullMoney) {
        this.fullMoney = fullMoney;
    }

    public Integer getCreateRole() {
        return createRole;
    }

    public void setCreateRole(Integer createRole) {
        this.createRole = createRole;
    }
    
    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }


    @Override
    public String toString() {
        return "TCoupon{" +
                "couponId=" + couponId +
                ", couponNo='" + couponNo + '\'' +
                ", type=" + type +
                ", img='" + img + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", status='" + status + '\'' +
                ", remarks='" + remarks + '\'' +
                ", count=" + count +
                ", takeCount=" + takeCount +
                ", usedCount=" + usedCount +
                ", deductionMoney=" + deductionMoney +
                ", discountMoney=" + discountMoney +
                ", fullMoney=" + fullMoney +
                ", createRole=" + createRole +
                ", createTime=" + createTime +
                ", createId=" + createId +
                '}';
    }
}
